<?php


namespace app\common\model;


use think\Model;
use traits\model\SoftDelete;

class Bank extends Model
{
    use SoftDelete;

    // 表名
    protected $name = 'user_bank';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'integer';

    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    protected $deleteTime = 'deletetime';

    protected $visible = ['id','user_id','holder','bank','subbranch','account'];

    // 追加属性
    protected $append = [

    ];
}